package com.powerfl.frm.taf{
	
	final public class TAFtree{
		
		internal var key:String;
		internal var type:String;
		internal var data:*;
		
		internal var parent:String;
		internal var children:Object;
		
		
		public function TAFtree(){}
		
		internal function init( $parent:String, $key:String, $type:String, $data:* ):TAFtree{
			type = $type;
			data = $data;
			parent = $parent;
			children = {};
			return this;
		}
		internal function collect():TAFtree{
			children = null; 
			data = null;
			return this;
		}
	}
}